class ArbitraryObject implements MouseMovedExampleListener { 
   public void mouseMoved(MouseMovedExampleEvent mme) {
     //do somethings
   } 
}